<?php
require_once 'DB.php';

class users extends db {

    public $table_nam = "user";

    function __construct() {
        parent::__construct();
    }

    public function select() {
        $this->__construct();
        $query = "SELECT * FROM user";
        $users = $this->query($query);
        return $users;
    }

}

?>